package com.burstly.lib.component.networkcomponent.burstly.wrapper;

import android.graphics.Bitmap;
import android.os.Message;
import android.view.KeyEvent;
import android.webkit.HttpAuthHandler;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class WebViewClientWrapper extends WebViewClient
{
  private final WebViewClient mOrigClient;

  public WebViewClientWrapper(WebViewClient paramWebViewClient)
  {
    this.mOrigClient = paramWebViewClient;
  }

  public void doUpdateVisitedHistory(WebView paramWebView, String paramString, boolean paramBoolean)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.doUpdateVisitedHistory(paramWebView, paramString, paramBoolean);
  }

  public boolean equals(Object paramObject)
  {
    if (this.mOrigClient != null)
      return this.mOrigClient.equals(paramObject);
    return false;
  }

  public int hashCode()
  {
    if (this.mOrigClient != null)
      return this.mOrigClient.hashCode();
    return 0;
  }

  public void onFormResubmission(WebView paramWebView, Message paramMessage1, Message paramMessage2)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onFormResubmission(paramWebView, paramMessage1, paramMessage2);
  }

  public void onLoadResource(WebView paramWebView, String paramString)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onLoadResource(paramWebView, paramString);
  }

  public void onPageFinished(WebView paramWebView, String paramString)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onPageFinished(paramWebView, paramString);
  }

  public void onPageStarted(WebView paramWebView, String paramString, Bitmap paramBitmap)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onPageStarted(paramWebView, paramString, paramBitmap);
  }

  public void onReceivedError(WebView paramWebView, int paramInt, String paramString1, String paramString2)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onReceivedError(paramWebView, paramInt, paramString1, paramString2);
  }

  public void onReceivedHttpAuthRequest(WebView paramWebView, HttpAuthHandler paramHttpAuthHandler, String paramString1, String paramString2)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onReceivedHttpAuthRequest(paramWebView, paramHttpAuthHandler, paramString1, paramString2);
  }

  public void onScaleChanged(WebView paramWebView, float paramFloat1, float paramFloat2)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onScaleChanged(paramWebView, paramFloat1, paramFloat2);
  }

  public void onTooManyRedirects(WebView paramWebView, Message paramMessage1, Message paramMessage2)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onTooManyRedirects(paramWebView, paramMessage1, paramMessage2);
  }

  public void onUnhandledKeyEvent(WebView paramWebView, KeyEvent paramKeyEvent)
  {
    if (this.mOrigClient != null)
      this.mOrigClient.onUnhandledKeyEvent(paramWebView, paramKeyEvent);
  }

  public boolean shouldOverrideKeyEvent(WebView paramWebView, KeyEvent paramKeyEvent)
  {
    if (this.mOrigClient != null)
      return this.mOrigClient.shouldOverrideKeyEvent(paramWebView, paramKeyEvent);
    return false;
  }

  public boolean shouldOverrideUrlLoading(WebView paramWebView, String paramString)
  {
    if (this.mOrigClient != null)
      return this.mOrigClient.shouldOverrideUrlLoading(paramWebView, paramString);
    return false;
  }

  public String toString()
  {
    if (this.mOrigClient != null)
      return this.mOrigClient.toString();
    return "Wrapped client is null";
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.component.networkcomponent.burstly.wrapper.WebViewClientWrapper
 * JD-Core Version:    0.6.2
 */